﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ruku_edit.aspx.cs" Inherits="admin_ruku_ruku_edit" MaintainScrollPositionOnPostback="True" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>编辑入库</title>
<link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<link href="../images/style.css" rel="stylesheet" type="text/css" />
<link href="../select/skins/style.css" rel="stylesheet"  type="text/css"   />
<script type="text/javascript" src="../scripts/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../scripts/jquery/jquery.form.js"></script>
<script type="text/javascript" src="../scripts/jquery/jquery.validate.min.js"></script> 
<script type="text/javascript" src="../scripts/jquery/messages_cn.js"></script>
<script type="text/javascript" src="../scripts/ui/js/ligerBuild.min.js"></script>
<script type="text/javascript" src="../datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/function.js"></script>
<script type="text/javascript" src="../select/js/select_split.js"></script>
    <script type="text/javascript">
        //菜单事件处理
        $(function () {
            //初始化按钮事件
            $("#nav_box tr").each(function (i) {
                initButton(i);
            });
            $("#nav_box2 tr").each(function (i) {
                initButton2(i);
            });
            //添加按钮(点击绑定)
            $("#navAddButton").click(function () {
                var navSize = $('#nav_box tr').size();
                var navRow = getTr(navSize);
                $("#nav_box").append(navRow);
                initButton(navSize);
            });
            //添加按钮(点击绑定)
            $("#btnLocation").click(function () {
                var navSize2 = $('#nav_box2 tr').size();
                var navRow2 = getTr2(navSize2);
                $("#nav_box2").append(navRow2);
                initButton2(navSize2);
            });
        });

        //货物信息表格行的菜单内容
        function getTr(indexValue) {
            var navRow = '<tr class="td_c">'
        + '<td><input name="goods_id" type="hidden" value="0" /><input name="goods_name" type="text" class="txtInput small3" style="width:96%;" /></td>'
        + '<td><input name="goods_num" type="text" class="txtInput small" style="width:80%;"  />件</td>'
        + '<td><input name="goods_cube" type="text" class="txtInput small" style="width:96%;" /></td>'
        + '<td><input name="remark" type="text" class="txtInput small3" style="width:96%;" /></td>'
		+ '<td><img alt="删除" src="../images/icon_del.gif" class="operator" /></td>'
		+ '</tr>';
            return navRow;
        }

        //初始化按钮事件
        function initButton(indexValue) {
            //功能操作按钮
            $("#nav_box tr:eq(" + indexValue + ") .operator").each(function (i) {
                switch (i) {
                    //删除                    
                    case 0:
                        $(this).click(function () {
                            var obj = $(this);
                            //                        $.ligerDialog.confirm("确定要删除吗？", "提示信息", function (result) {
                            //                            if (result) {
                            obj.parent().parent().remove(); //删除节点
                            //                            }
                            //                        });
                        });
                        break;
                }
            });
        }

        //库位信息表格内容
        function getTr2(indexValue2) {
            var navRow2 = '<tr class="td_c">'
        + '<td><input name="location_id" type="hidden" value="0" />'
        + '<input name="storage_id" type="text" class="txtInput small4" />-'
        + ' <input name="shelf_id" type="text" class="txtInput small4" />-'
        + ' <input name="floor_id" type="text" class="txtInput small4"  />-'
        + ' <input name="line_id" type="text" class="txtInput small4" />'
		+ '<td><img alt="删除" src="../images/icon_del.gif" class="operator"  /></td>'
		+ '</tr>';
            return navRow2;
        }

        function initButton2(indexValue2) {
            //功能操作按钮
            $("#nav_box2 tr:eq(" + indexValue2 + ") .operator").each(function (i) {
                switch (i) {
                    //删除                     
                    case 0:
                        $(this).click(function () {
                            var obj = $(this);                        
                            obj.parent().parent().remove(); //删除节点
                        });
                        break;
                }
            });
                }
        //删除一行变量
//        function delVarTr(obj) {
//            $(obj).parent().parent().remove();
                //        }


               
        //表单验证
                $(function () {
                    $('#txtDeclaID').focus();
                    $("#frmform").validate({
                        errorElement: "span",
                        success: "success",
                        invalidHandler: function (e, validator) {
                            parent.jsprint("有 " + validator.numberOfInvalids() + " 项填写有误，请检查！", "", "Warning");
                        },
                        rules: {
                            ddlRukuWay: "required",
                            ddlRukuStorage: "required",
                            txtKuwei: {
                            remote: {
                            type: "post",
                            url: "../tools/submit_ajax.ashx?action=validate_kuwei",
                            data: {
                                position: function () {
                                    return $("#hidKuwei").val();
                                }
                            },
                            dataType: "html",
                            dataFilter: function (data, type) {
                                if (data == "true")
                                    return true;
                                else
                                    return false;
                            }
                        }
                    },
                            txtDeclaID: {
                                remote: {
                                    type: "post",
                                    url: "../tools/submit_ajax.ashx?action=validate_decla_id",
                                    data: {
                                        decla_id: function () {
                                            return $("#txtDeclaID").val();
                                        },
                                        olddecla_id: function () {
                                            return $("#hidDeclaID").val();
                                        }
                                    },
                                    dataType: "html",
                                    dataFilter: function (data, type) {
                                        if (data == "true")
                                            return true;
                                        else
                                            return false;
                                    }
                                }
                            }
                        },
                        messages: {
                            ddlRukuWay: "请选择入库方式",
                            ddlRukuStorage: "请选择入库仓库",
                            txtKuwei: { remote: "抱歉，该库位已被占用" },
                            txtDeclaID: { remote: "抱歉，该报关单号已存在" }
                        }
                    });
                });
        //重置表单
        function ChangeReset() {
            $("#frmform")[0].reset();
            $("#ddlRukuStorage ").get(0).selectedIndex = 0;
            selRefresh("ddlRukuStorage");
            $("#ddlRukuWay ").get(0).selectedIndex = 0;
            selRefresh("ddlRukuWay");
        };  
    </script>
    <script type="text/javascript">
        //    function selFunc() {
        //      $("#selText").text($("#ddlRukuStorage").get(0).selectedIndex)
        //      //        $("#ddlRukuStorage").get(0).selectedIndex = 0;
        //      selRefresh("ddlRukuStorage");
        //    }
       
    </script>

    <script type="text/javascript">
        //页面装载就加载函数   
        $(document).ready(function () {
            //给所有的td单元格绑定一个click事件   
            //如果这个table的id为table1，那单给table1的所有td加click事件代码为：   
            var tds = $("#table1").find("td");
            //var tds = $("td");
            tds.click(tdclick);
        });
        function tdclick() {
            //var td = $(this);   
            //var text = td.text();   
            // $(this)表示这个td单元格，   
            // .parent("tr")表示这个td的父节点   
            // .prevAll()表示这个tr前面有多少个tr   
            var s1 = '';
            var s2 = '';
            var hang = $(this).parent("tr").prevAll().length;
            var lie = $(this).prevAll().length;
            var hang2 = '';
            hang = Number(hang) + 1; //字符串变为数字   
            lie = Number(lie) + 0;
            if (hang == 01) {
                hang2 = 04;
            }
            else if (hang == 02) {
                hang2 = 03;
            }
            else if (hang == 03) {
                hang2 = 02;
            }
            else if (hang == 04) {
                hang2 = 01;
            }
            document.getElementById("hidhang").value = '0' + hang2;
            
            //alert("第" + hang + "行" + "第" + lie + "列");
            //ss = "第" + hang + "行" + "第" + lie + "列";
            //document.getElementById("lblKuwei").value = ss;
            s1 = document.getElementById("selRukuStorage").value;
            s2 = document.getElementById("selShelf").value;
            if (lie < 10) {
                // $("#lblKuwei").html(s1 + "-" + s2 + "-" + "0" + hang2 + "-" + "0" + lie);ListBox1
                document.getElementById("txtKuwei").value = s1 + "-" + s2 + "-" + "0" + hang2 + "-" + "0" + lie;
                document.getElementById("hidKuwei").value = s1 + "-" + s2 + "-" + "0" + hang2 + "-" + "0" + lie;
                document.getElementById("hidlie").value = '0' + lie;
            }
            else {
                // $("#lblKuwei").html(s1 + "-" + s2 + "-" + "0" + hang2 + "-" + lie);
                document.getElementById("txtKuwei").value = s1 + "-" + s2 + "-" + "0" + hang2 + "-" + lie;
                document.getElementById("hidKuwei").value = s1 + "-" + s2 + "-" + "0" + hang2 + "-" + lie;
                document.getElementById("hidlie").value = lie;
            }
        }           
</script> 
<%--点击单元格改变颜色--%>
    <style type="text/css">
        .clickTD
        {
            background-color: #afdfe4;
            text-decoration: none;
        }
    </style>
    <script type="text/javascript">
        function colorChange(t) {
            for (var i = 0; i < t.rows.length; i++)   //遍历行    
                for (var j = 1; j < t.rows[i].cells.length; j++)//遍历列     
                //                    var iRow = e.target || window.event.srcElement;  
                t.rows[i].cells[j].className = t.rows[i].cells[j] == event.srcElement ? 'clickTD' : '' //改变背景
            } 
    </script>
</head>
<body class="mainbody">
<form id="frmform" runat="server" >
<div class="navigation"><a href="javascript:history.go(-1);" class="back">后退</a>首页 &gt; 系统信息管理 &gt; 入库管理</div>
<div id="contentTab">
    <ul class="tab_nav">
        <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">编辑入库信息</a></li>
    </ul>
    <div class="tab_con" style="display:block;" >
        <table class="form_table" >
            <col width="150px" />
            <tbody>        
            <tr>
                <th width="150px">报关单号：</th>
                <td width="400px"><asp:HiddenField ID="hidDeclaID" runat="server" Value="" />
                <asp:TextBox ID="txtDeclaID" runat="server" CssClass="txtInput normal2 required"></asp:TextBox><label>*</label></td>
                <th width="150px">确认报关单号：</th>
                <td width="400px"><asp:TextBox ID="txtDeclaID2" runat="server" CssClass="txtInput normal2 required" equalTo="#txtDeclaID"></asp:TextBox><label>*</label></td>  
                             
            </tr>
             <tr>
                <th>掏箱组：</th>
                <td><asp:TextBox ID="txtUnstuffingGroup" runat="server" CssClass="txtInput normal2 "></asp:TextBox></td>
                 <th>理货员：</th>
                <td><asp:TextBox ID="txtTallyMan" runat="server" CssClass="txtInput normal2 "></asp:TextBox></td>             
            </tr>
             <tr>
                <th>客户：</th>
                <td><asp:TextBox ID="txtCustomer" runat="server" CssClass="txtInput normal2 "></asp:TextBox></td>
                 <th>海关关员：</th>
                <td><asp:TextBox ID="txtCustomsOfficer" runat="server" CssClass="txtInput normal2 "></asp:TextBox></td>             
            </tr>
             <tr>
                <th>入库时间：</th>
                <%--<td><asp:TextBox ID="txtRukuTime" runat="server" CssClass="txtInput normal2 wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',autoPickDate:true,readOnly:true,qsEnabled:false})" ></asp:TextBox></td>--%>
                <td><asp:TextBox ID="txtRukuTime" runat="server" ReadOnly="true" CssClass="txtInput normal2 "></asp:TextBox><label>* 自动生成，不可更改</label></td>
                 <th>入库方式：</th>               
              <%--  <td><asp:DropDownList ID="ddlRukuWay" CssClass="select2 required" runat="server"></asp:DropDownList></td>  --%>   
                <td><select id="ddlRukuWay" runat="server" autowidth="true"></select><label>*</label></td>        
            </tr>
            <tr>
                <th>入库仓库：</th>
                <td><select id="ddlRukuStorage" name="ddlRukuStorage" runat="server" autowidth="true"></select><label>*</label></td>
                 <th>经办人：</th>                
                <td><asp:TextBox ID="txtTransactor" runat="server"  Enabled="false" CssClass="txtInput normal2 "></asp:TextBox></td>     
            </tr>
            <tr>  
                 <th>入库库位：</th>
              <%--  <td colspan="3"><button id="btnLocation" type="button" class="btnSelect"><span class="add">添 加</span></button><label>* 仓库号--货架号--层号--位号（01--A--01--01）</label></td>   --%>
                <td><button id="btnLocation" type="button" class="btnSelect"><span class="add">添 加</span></button><label>* 仓库号-货架号-层号-位号（01-A-01-01）</label></td>
                 <th>报关行名称：</th>
                <td><asp:TextBox ID="txtCustomsBroker" runat="server" CssClass="txtInput normal2 required"></asp:TextBox><label>*</label></td>
             </tr>
              <tr>
                <th></th>
                <td colspan="3">
                    <table border="0" cellspacing="0" cellpadding="0" class="border_table" >
                        <thead>
                        <tr>
                          <%--  <th width="200">仓库号--货架号--层号--列号</th>                
                            <th width="30">操作</th>--%>
                        </tr>
                        </thead>
                        <tbody id="nav_box2">
                        <asp:Repeater ID="rptLocation" runat="server">
                        <ItemTemplate>
                        <tr class="td_c">
                            <td><input name="location_id" type="hidden" value="<%#Eval("id") %>" /><input name="storage_id" type="text" value="<%#Eval("storage_id")%>" class="txtInput small4"  />-
                            <input name="shelf_id" type="text" value="<%#Eval("shelf_id")%>" class="txtInput small4 "  />-
                            <input name="floor_id" type="text" value="<%#Eval("floor_id")%>" class="txtInput small4 "  />-
                            <input name="line_id" type="text" value="<%#Eval("line_id")%>" class="txtInput small4 " /></td>
                            <td><img alt="删除" src="../images/icon_del.gif" class="operator" /></td>
                        </tr>
                        </ItemTemplate>
                        </asp:Repeater>
                        </tbody>
                    </table>
                </td>               
            </tr>
            </tbody>
        </table>
        <div class="line15"></div>
        <!--库位物品信息开始-->
        <table class="form_table">
            <col width="150px" />
            <tbody>
             <tr>
                <th width="150px">物品名称：</th>
                <td width="400px"><asp:TextBox ID="txtGoodsName" runat="server" CssClass="txtInput normal2 "></asp:TextBox></td>
                 <th width="150px">件数：</th>
                <td width="400px"><asp:TextBox ID="txtGoodsNum" runat="server" CssClass="txtInput small "></asp:TextBox>件</td>             
            </tr>
            <tr>
                <th>体积：</th>
                <td><asp:TextBox ID="txtGoodsCube" runat="server" CssClass="txtInput small "></asp:TextBox>m³</td>
                 <th>涉嫌侵权：</th>
                <td><select id="selTort" runat="server" autowidth="true">
                  <option value="0" selected="selected">否</option>
                            <option value="1">是</option>
                   </select></td>            
            </tr>
            <tr>
                <th>仓库号：</th>
                <td><select id="selRukuStorage" runat="server" autowidth="true" onserverchange="selRukuStorage_ServerChange" onchange="frmform.submit();"></select></td>
                 <th>货架号：</th>
                <td><select id="selShelf" runat="server" autowidth="true"  onserverchange="selShelf_ServerChange" onchange="frmform.submit();">
                            <option value="0" selected="selected">请选择货架号...</option>
                            <option value="01">01</option>
                            <option value="02">02</option>
                            <option value="03">03</option>
                            <option value="04">04</option>
                            <option value="05">05</option>
                            <option value="06">06</option>
                            <option value="07">07</option>
                            <option value="08">08</option>
                            <option value="09">09</option>
                            <option value="10">10</option>
                            <option value="11">11</option>
                            <option value="12">12</option>
                            <option value="13">13</option>
                            <option value="14">14</option>
                            <option value="15">15</option>
                            <option value="16">16</option>
                            <option value="17">17</option>
                            <option value="18">18</option>
                            <option value="19">19</option>
                            <option value="20">20</option>
                            </select></td>
            </tr>                      
            <tr>
                <th><asp:Label ID="lblShelf" runat="server" Text="Label"></asp:Label>号货架：</th>
                <td colspan="3"><table border="0" cellspacing="0" cellpadding="0" class="border_table" id="table1" onclick="colorChange(this)">
                        <thead>
                        <tr>
                            <th width="15">层号\列号</th>
                            <th width="10">01</th>
                            <th width="10">02</th>
                            <th width="10">03</th>
                            <th width="10">04</th>
                            <th width="10">05</th>
                            <th width="10">06</th>
                            <th width="10">07</th>
                            <th width="10">08</th>
                            <th width="10">09</th>
                            <th width="10">10</th>
                            <th width="10">11</th>
                            <th width="10">12</th>
                            <th width="10">13</th>
                            <th width="10">14</th>
                            <th width="10">15</th>
                            <th width="10">16</th>
                            <th width="10">17</th>
                            <th width="10">18</th>
                            <th width="10">19</th>
                            <th width="10">20</th>
                            <th width="10">21</th>
                            <th width="10">22</th>
                            <th width="10">23</th>
                            <th width="10">24</th>
                            <th width="10">25</th>
                        </tr>
                        </thead>
                        <tbody>                       
                        <asp:Repeater ID="rptList3" runat="server">
                        <ItemTemplate>
                        <tr class="td_c">
                            <td><%#Eval("层")%></td>
                            <td><%#Eval("01").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("02").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("03").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("04").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("05").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("06").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("07").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("08").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("09").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("10").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("11").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("12").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("13").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("14").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("15").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td> 
                            <td><%#Eval("16").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("17").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("18").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("19").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("20").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("21").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("22").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("23").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("24").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td>
                            <td><%#Eval("25").ToString() == "1" ? "<img title=\"有货\" src=\"../images/box_full.png\" />" : ""%></td> 
                        </tr>
                        </ItemTemplate>
                        </asp:Repeater>               
                        </tbody>
                    </table></td>
            </tr>
            <tr>
                <th>入库库位：</th>
                <td colspan="3"><asp:HiddenField ID="hidIs_exist" runat="server" Value="" /> <input id="hidhang" type="hidden" runat ="server" />
               <input id="hidlie" type="hidden" runat ="server" /><input id="hidKuwei" type="hidden" runat ="server" />
               <asp:TextBox ID="txtKuwei" runat="server"  CssClass="txtInput normal2 required" Text="请点击库位" ReadOnly="True"></asp:TextBox></td>
            </tr>          
             <%--<tr>
                <th>货物信息：</th>
                <td><button id="navAddButton" type="button" class="btnSelect"><span class="add">添 加</span></button></td>    
            </tr>
            <tr>
                <th></th>
                <td>
                    <table border="0" cellspacing="0" cellpadding="0" class="border_table" >
                        <thead>
                        <tr>
                            <th width="230">物品名称</th>
                            <th width="150">件数</th>
                            <th width="150">体积</th>
                            <th width="150">备注</th>                   
                            <th width="50">操作</th>
                        </tr>
                        </thead>
                        <tbody id="nav_box">
                        <asp:Repeater ID="rptNavList" runat="server">
                        <ItemTemplate>
                        <tr class="td_c">
                            <td><input name="goods_id" type="hidden" value="<%#Eval("id") %>" /><input name="goods_name" type="text" value="<%#Eval("goods_name")%>" class="txtInput small3" style="width:96%;" /></td>
                            <td><input name="goods_num" type="text" value="<%#Eval("num")%>" class="txtInput small " style="width:80%;" />件</td>
                            <td><input name="goods_cube" type="text" value="<%#Eval("cube")%>"  class="txtInput small" style="width:96%;" /></td>
                            <td><input name="remark" type="text" value="<%#Eval("remark")%>" class="txtInput small3 " style="width:96%;" /></td>
                            <td><img alt="删除" src="../images/icon_del.gif" class="operator" /></td>
                        </tr>
                        </ItemTemplate>
                        </asp:Repeater>
                        </tbody>
                    </table>
                </td>
            </tr>--%>
             <tr>
                <th></th>
                <td colspan="3">
                <asp:Button ID="btnAdd" runat="server" Text="添 加" CssClass="btnblue" onclick="btnAdd_Click"/>
                </td>
            </tr>
            </tbody>
        </table>
    </div> 
    <div class="foot_btn_box">
  <%-- <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnblue" onclick="btnSubmit_Click"  />&nbsp;&nbsp;&nbsp;
   <input name="重置" type="reset" class="btnblue" value="重置" />&nbsp;&nbsp;&nbsp;
   <asp:Button ID="btnBack" runat="server" Text="返回列表" CssClass="btnblue" onclick="btnBack_Click"   />--%>
             <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnblue" onclick="btnSubmit_Click"   />&nbsp;&nbsp;&nbsp;
               <%-- <asp:Button ID="btnUpdate" runat="server" Text="修改" CssClass="btnblue" onclick="btnUpdate_Click"  />&nbsp;&nbsp;&nbsp;--%>
                <input name="重置" type="button" class="btnblue" value="重置" onclick="ChangeReset()"  />&nbsp;&nbsp;&nbsp;<asp:Button ID="Button1" runat="server" Text="提交保存" CssClass="btnblue" onclick="Button1_Click"   />
               <%-- <asp:Button ID="Button2" runat="server" Text="完成入库" CssClass="btnblue" onclick="btnFinish_Click"  />--%>
    </div>
</div>
</form>
</body>
</html>
